package com.lemon.rule.express.parse;

public class Word {
    public String word;
    public int line;
    public int col;

    public Word(String aWord, int aLine, int aCol) {
        this.word = aWord;
        this.line = aLine;
        this.col = aCol - aWord.length() + 1;
    }

    public String toString() {
        return this.word;// + "[" + this.line + "," + this.col + "]";
    }
}
